package com.guigu.buy.service;

import com.guigu.buy.pojo.Cart;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author com.guigu
 * @since 2024-05-15
 */
public interface ICartService extends IService<Cart> {
    int addCart( Cart cart);

    List<Cart> showCart( Integer customerId);

    List<Cart> loadCartByConsumerId(Integer customerId);
}
